<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    let startTime = +new Date()
    let importUnpkg = import('https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Global_Objects/Promise/any')
    let importJsdeliver = import('https://www.fastmock.site/mock/581c90a7cd639f27bb8681099f7dbed0/react-demo01/web-api')
    Promise.any([importUnpkg, importJsdeliver])
      .then(res => {
        console.log('加载完毕，时间是：' + (+new Date() - startTime) + 'ms')
        console.log(Json.parse(res))
      })
  </script>
</body>

</html>